package com.seckill.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
public class SpringbootDockerApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringbootDockerApplication.class, args);
	}

	@RequestMapping("hello")
	public String hello() {
		return "Hello, SpringBoot With Docker";
	}

	@RequestMapping("test")
	public String test() {
		return "test, SpringBoot With Docker";
	}
}
